check array formation through concatenation python